import * as echarts from 'echarts';
export const alarmHandlingData = {
  chartData : [
    {
      value: 520,
      name: "一般告警",
    },
    {
      value: 280,
      name: "其他告警",
    },
    {
      value: 100,
      name: "严重告警",
    },
  ],
  colorList: [
    new echarts.graphic.LinearGradient(0, 0, 0, 1, [
      {
        offset: 0,
        color: "#f8ffff",
      },
      {
        offset: 1,
        color: "#f8ffff99",
      },
    ]),
    new echarts.graphic.LinearGradient(0, 0, 0, 1, [
      {
        offset: 0,
        color: "#43b7db",
      },
      {
        offset: 1,
        color: "#43b7db99",
      },
    ]),
    new echarts.graphic.LinearGradient(0, 0, 0, 1, [
      {
        offset: 0,
        color: "#d47f1f",
      },
      {
        offset: 1,
        color: "#d47f1f99",
      },
    ]),
  ]
}

